/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package clueless;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;


/**
 *
 * @author dcain
 */
public class ClientUI extends javax.swing.JFrame{
    //private javax.swing.JButton jButton10 = new JButton();
    /**
     * Creates new form ClientUI
     */
    
    //ArrayList<javax.swing.JButton> hallways;
    //java.net.URL url = ClassLoader.getSystemResource("com/Clueless/resources/iconScarlet.png");
    
    public Map hallways; 
    public void updateText(String text){
        textArea.append(text + "\n");
        int endPosition = textArea.getDocument().getLength();
        textArea.setCaretPosition(endPosition); 
    }
    void processMoves(String[] procMoves) throws InterruptedException {
        System.out.println("procMoves length " + procMoves.length);
        for (int i = procMoves.length - 1; i > 0; i--){
            if(procMoves[i].startsWith("Suggest")){
                Clueless.room = procMoves[i].substring(7);
                procMoves[i] = "Suggest";
            }
            switch(procMoves[i]){
                case "Accuse":
                    accuseButton.setEnabled(true);
                    break;
                case "Suggest":
                    suggestButton.setEnabled(true);                     
                    break;
                case "North":
                    northButton.setEnabled(true);
                    break;
                case "West":
                    westButton.setEnabled(true);
                    break;
                case "East":
                    eastButton.setEnabled(true);
                    break;
                case "South":
                    southButton.setEnabled(true);
                    break;
                case "Secret":
                    secretButton.setEnabled(true);
                    break;
                case "EndTurn":                    
                    System.out.println("EndTurn case triggered");
                    //end turn button not enabling properly unless i put in a delay. Have no idea why. Maybe race condition where the enable happens before the disable.
                    Thread.sleep(100);                    
                    endButton.setEnabled(true);
                    break;
            }                
        }
    }
    public void disableButtons(){    
        endButton.setEnabled(false);
        accuseButton.setEnabled(false);
        suggestButton.setEnabled(false);
        northButton.setEnabled(false);
        westButton.setEnabled(false);
        eastButton.setEnabled(false);
        southButton.setEnabled(false);
        secretButton.setEnabled(false);
        
    }
    
    void promptSuggest(){
        disableButtons();
        SuggAccDialog suggest = new SuggAccDialog("Suggest", Clueless.room);
        suggest.setVisible(true);
    }
    
    void promptAccuse(){
        disableButtons();
        SuggAccDialog accuse = new SuggAccDialog("Accuse!");
        accuse.setVisible(true);
    }
    
    void clearPositions(){
        for(Object button: hallways.values()){
            JButton thisButton = (JButton)button;
            thisButton.setIcon(null);
            lounge.setIcon(new ImageIcon(getClass().getResource("/clueless/resources/lounge_default.png")));
        } 
        
    }
    
    public void checkHand(String toProcess){
        String pHand[] = toProcess.split(" ");                    
        for (int i = 0; i < pHand.length; i++){
            
            switch(pHand[i]){
                case "Candlestick":
                    candlestickCB.setSelected(true);
                    break;
                case "Knife":
                    knifeCB.setSelected(true);
                    break;
                case "Revolver":
                    revolverCB.setSelected(true);
                    break;
                case "Rope":
                    ropeCB.setSelected(true);
                    break;
                case "Wrench":
                    wrenchCB.setSelected(true);
                    break;
                case "Pipe":
                    pipeCB.setSelected(true);
                    break;               
                case "Scarlet":
                    scarletCB.setSelected(true);
                    break;
                case "White":
                    whiteCB.setSelected(true);
                    break;
                case "Green":
                    greenCB.setSelected(true);
                    break;
                case "Peacock":
                    peacockCB.setSelected(true);
                    break;
                case "Plum":
                    plumCB.setSelected(true);
                    break;
                case "Mustard":
                    mustardCB.setSelected(true);
                    break;
                case "Kitchen":
                    kitchenCB.setSelected(true);
                    break;
                case "Ballroom":
                    ballroomCB.setSelected(true);
                    break;
                case "Conservatory":
                    conservatoryCB.setSelected(true);
                    break;
                case "Dining_Room":
                    diningCB.setSelected(true);
                    break;
                case "Billiard_Room":
                    billiardCB.setSelected(true);
                    break;
                case "Lounge":
                    loungeCB.setSelected(true);
                    break;
                case "Hall":
                    hallCB.setSelected(true);
                    break;
                case "Study":
                    studyCB.setSelected(true);
                    break;
                case "Library":
                    libraryCB.setSelected(true);
                    break;
            }       
        }        
    }
    
    
    public ClientUI() throws IOException {
        initComponents();
        setVisible(true); 
        hallways = new HashMap<>();
        hallways.put("ScarletStart", scarletstart);                
        hallways.put("PlumStart", plumstart);
        hallways.put("MustardStart",mustardstart);
        hallways.put("PeacockStart",peacockstart);
        hallways.put("GreenStart",greenstart);
        hallways.put("WhiteStart",whitestart);
        hallways.put("Ballroom_Kitchen",ballroom_kitchen);
        hallways.put("Billiard_Ballroom",billiard_ballroom);
        hallways.put("Billiard_Dining",billiard_dining);
        hallways.put("Conservatory_Ballroom",conservatory_ballroom);
        hallways.put("Dining_Kitchen",dining_kitchen);
        hallways.put("Hall_Billiard",hall_billiard);
        hallways.put("Hall_Lounge",hall_lounge);
        hallways.put("Library_Billiard",library_billiard);
        hallways.put("Library_Conservatory",library_conservatory);
        hallways.put("Lounge_Dining",lounge_dining);
        hallways.put("Study_Hall",study_hall);
        hallways.put("Study_Library",study_library);        
    }
    
    JButton getHallway(String name){
        JButton result = null;
        
        
            //System.out.println("hallwaytext: " + hallways.get(name) + " | " + name); 
            if(hallways.containsKey(name)){
                System.out.println(" containsKey worked");
             result = (JButton)hallways.get(name);
                
             }           
        
        //System.out.println("Get Hallway: "+ result.getSize().toString());
        return result;
    }
    
    boolean setPlayer(String room, String player) throws InterruptedException{
        boolean wasFound = false;
        //Icon icon = new ImageIcon("icon" + player + ".png");
        JButton thisButton = getHallway(room);
        if (thisButton != null){
            //new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/iconWhite.png")
            thisButton.setIcon(new ImageIcon((getClass().getResource("/clueless/resources/icon" + player + ".png"))));
            wasFound = true;
        } else {
            if(room.equals("Lounge") && player.equals("Scarlet")){
                
                lounge.setIcon(new ImageIcon((getClass().getResource("/clueless/resources/lounge_" + player.toLowerCase() + ".png"))));
            }
        }
        return wasFound;
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        navPanel = new javax.swing.JPanel();
        southButton = new javax.swing.JButton();
        northButton = new javax.swing.JButton();
        westButton = new javax.swing.JButton();
        secretButton = new javax.swing.JButton();
        eastButton = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        candlestickCB = new javax.swing.JCheckBox();
        knifeCB = new javax.swing.JCheckBox();
        revolverCB = new javax.swing.JCheckBox();
        ropeCB = new javax.swing.JCheckBox();
        wrenchCB = new javax.swing.JCheckBox();
        pipeCB = new javax.swing.JCheckBox();
        mustardCB = new javax.swing.JCheckBox();
        scarletCB = new javax.swing.JCheckBox();
        plumCB = new javax.swing.JCheckBox();
        greenCB = new javax.swing.JCheckBox();
        whiteCB = new javax.swing.JCheckBox();
        peacockCB = new javax.swing.JCheckBox();
        kitchenCB = new javax.swing.JCheckBox();
        ballroomCB = new javax.swing.JCheckBox();
        conservatoryCB = new javax.swing.JCheckBox();
        diningCB = new javax.swing.JCheckBox();
        billiardCB = new javax.swing.JCheckBox();
        loungeCB = new javax.swing.JCheckBox();
        hallCB = new javax.swing.JCheckBox();
        studyCB = new javax.swing.JCheckBox();
        libraryCB = new javax.swing.JCheckBox();
        jPanel2 = new javax.swing.JPanel();
        ballroom = new javax.swing.JButton();
        study_library = new javax.swing.JButton();
        hall = new javax.swing.JButton();
        hall_lounge = new javax.swing.JButton();
        scarletstart = new javax.swing.JButton();
        conservatory = new javax.swing.JButton();
        library = new javax.swing.JButton();
        lounge = new javax.swing.JButton();
        study = new javax.swing.JButton();
        kitchen = new javax.swing.JButton();
        dining = new javax.swing.JButton();
        billiard = new javax.swing.JButton();
        study_hall = new javax.swing.JButton();
        lounge_dining = new javax.swing.JButton();
        hall_billiard = new javax.swing.JButton();
        mustardstart = new javax.swing.JButton();
        peacockstart = new javax.swing.JButton();
        plumstart = new javax.swing.JButton();
        billiard_ballroom = new javax.swing.JButton();
        dining_kitchen = new javax.swing.JButton();
        conservatory_ballroom = new javax.swing.JButton();
        library_conservatory = new javax.swing.JButton();
        library_billiard = new javax.swing.JButton();
        billiard_dining = new javax.swing.JButton();
        ballroom_kitchen = new javax.swing.JButton();
        greenstart = new javax.swing.JButton();
        whitestart = new javax.swing.JButton();
        endButton = new javax.swing.JButton();
        suggestButton = new javax.swing.JButton();
        accuseButton = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        textArea = new javax.swing.JTextArea();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        southButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/arrowDown.png"))); // NOI18N
        southButton.setEnabled(false);
        southButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                southButtonActionPerformed(evt);
            }
        });

        northButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/arrowUp.png"))); // NOI18N
        northButton.setEnabled(false);
        northButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                northButtonActionPerformed(evt);
            }
        });

        westButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/arrowLeft.png"))); // NOI18N
        westButton.setEnabled(false);
        westButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                westButtonActionPerformed(evt);
            }
        });

        secretButton.setText("Secret");
        secretButton.setEnabled(false);
        secretButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                secretButtonActionPerformed(evt);
            }
        });

        eastButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/arrowRight.png"))); // NOI18N
        eastButton.setEnabled(false);
        eastButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                eastButtonActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout navPanelLayout = new javax.swing.GroupLayout(navPanel);
        navPanel.setLayout(navPanelLayout);
        navPanelLayout.setHorizontalGroup(
            navPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(navPanelLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(navPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, navPanelLayout.createSequentialGroup()
                        .addGroup(navPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addGroup(navPanelLayout.createSequentialGroup()
                                .addComponent(northButton, javax.swing.GroupLayout.PREFERRED_SIZE, 76, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, navPanelLayout.createSequentialGroup()
                                .addGap(13, 13, 13)
                                .addComponent(southButton, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                        .addComponent(eastButton, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, navPanelLayout.createSequentialGroup()
                        .addComponent(westButton, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(secretButton)
                        .addGap(89, 89, 89))))
        );
        navPanelLayout.setVerticalGroup(
            navPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(navPanelLayout.createSequentialGroup()
                .addGap(68, 68, 68)
                .addComponent(eastButton, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addGroup(navPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(northButton, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGroup(navPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(navPanelLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(westButton, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(navPanelLayout.createSequentialGroup()
                        .addGap(21, 21, 21)
                        .addComponent(secretButton)
                        .addGap(18, 18, 18)
                        .addComponent(southButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE))))
        );

        candlestickCB.setText("Candlestick");

        knifeCB.setText("Knife");

        revolverCB.setText("Revolver");

        ropeCB.setText("Rope");

        wrenchCB.setText("Wrench");

        pipeCB.setText("Pipe");

        mustardCB.setText("Mustard");

        scarletCB.setText("Scarlet");

        plumCB.setText("Plum");

        greenCB.setText("Green");

        whiteCB.setText("White");

        peacockCB.setText("Peacock");

        kitchenCB.setText("Kitchen");

        ballroomCB.setText("Ballroom");

        conservatoryCB.setText("Conservatory");

        diningCB.setText("Dining Room");

        billiardCB.setText("Billiard Room");

        loungeCB.setText("Lounge");

        hallCB.setText("Hall");

        studyCB.setText("Study");

        libraryCB.setText("Library");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(candlestickCB)
                    .addComponent(knifeCB)
                    .addComponent(revolverCB)
                    .addComponent(ropeCB)
                    .addComponent(wrenchCB)
                    .addComponent(pipeCB)
                    .addComponent(scarletCB)
                    .addComponent(plumCB)
                    .addComponent(greenCB)
                    .addComponent(whiteCB)
                    .addComponent(peacockCB)
                    .addComponent(kitchenCB)
                    .addComponent(ballroomCB)
                    .addComponent(conservatoryCB)
                    .addComponent(diningCB)
                    .addComponent(billiardCB)
                    .addComponent(loungeCB)
                    .addComponent(hallCB)
                    .addComponent(studyCB)
                    .addComponent(mustardCB)
                    .addComponent(libraryCB))
                .addGap(0, 53, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(24, 24, 24)
                .addComponent(candlestickCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(knifeCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(revolverCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(ropeCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(wrenchCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pipeCB)
                .addGap(18, 18, 18)
                .addComponent(scarletCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(mustardCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(plumCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(greenCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(whiteCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(peacockCB)
                .addGap(18, 18, 18)
                .addComponent(kitchenCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(ballroomCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(conservatoryCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(diningCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(billiardCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(loungeCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(hallCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(libraryCB)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(studyCB))
        );

        ballroom.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/ballroom_default.png"))); // NOI18N

        hall.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/hall_default.png"))); // NOI18N

        scarletstart.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/iconScarlet.png"))); // NOI18N

        conservatory.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/conservatory_default.png"))); // NOI18N

        library.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/library_default.png"))); // NOI18N

        lounge.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/lounge_default.png"))); // NOI18N

        study.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/study_default.png"))); // NOI18N

        kitchen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/kitchen_default.png"))); // NOI18N

        dining.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/dining_default.png"))); // NOI18N

        billiard.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/billiard_default.png"))); // NOI18N

        mustardstart.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/iconMustard.png"))); // NOI18N

        peacockstart.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/iconPeacock.png"))); // NOI18N

        plumstart.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/iconPlum.png"))); // NOI18N

        greenstart.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/iconGreen.png"))); // NOI18N

        whitestart.setIcon(new javax.swing.ImageIcon(getClass().getResource("/clueless/resources/iconWhite.png"))); // NOI18N

        endButton.setText("End Turn");
        endButton.setEnabled(false);
        endButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                endButtonActionPerformed(evt);
            }
        });

        suggestButton.setText("Suggestion");
        suggestButton.setEnabled(false);
        suggestButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                suggestButtonActionPerformed(evt);
            }
        });

        accuseButton.setText("Accusation");
        accuseButton.setEnabled(false);
        accuseButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                accuseButtonActionPerformed(evt);
            }
        });

        textArea.setColumns(20);
        textArea.setRows(5);
        jScrollPane1.setViewportView(textArea);

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addComponent(plumstart, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(50, 50, 50)
                .addComponent(study_library, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(hall_billiard, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(134, 134, 134)
                .addComponent(lounge_dining, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(81, 81, 81)
                .addComponent(mustardstart, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(51, 51, 51))
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(peacockstart, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(67, 67, 67)
                        .addComponent(library_conservatory, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(144, 144, 144)
                        .addComponent(billiard_ballroom, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(139, 139, 139)
                        .addComponent(dining_kitchen, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(68, 68, 68)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(conservatory, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(library, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(study, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(greenstart, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(whitestart, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(library_billiard, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(9, 9, 9)
                                .addComponent(billiard, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(billiard_dining, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(conservatory_ballroom, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(13, 13, 13)
                                .addComponent(ballroom, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(ballroom_kitchen, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(study_hall, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(hall, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(scarletstart, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(hall_lounge, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(dining, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lounge, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(kitchen, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 552, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(accuseButton, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(suggestButton, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(endButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addGap(41, 41, 41)
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(study, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(hall, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(lounge, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup()
                                .addGap(120, 120, 120)
                                .addComponent(study_hall, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addGap(6, 6, 6)
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(study_library, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(plumstart, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(library, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel2Layout.createSequentialGroup()
                                        .addGap(7, 7, 7)
                                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(lounge_dining, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(mustardstart, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                    .addGroup(jPanel2Layout.createSequentialGroup()
                                        .addGap(6, 6, 6)
                                        .addComponent(hall_billiard, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(dining, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(billiard, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addGap(118, 118, 118)
                                .addComponent(library_billiard, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addGap(11, 11, 11)
                                .addComponent(peacockstart, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(dining_kitchen, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(billiard_ballroom, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(library_conservatory, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(scarletstart, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(78, 78, 78)
                        .addComponent(hall_lounge, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(billiard_dining, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(131, 131, 131)))
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(1, 1, 1)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(conservatory, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(ballroom, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(kitchen, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(74, 74, 74)
                        .addComponent(conservatory_ballroom, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(78, 78, 78)
                        .addComponent(ballroom_kitchen, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(13, 13, 13)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(greenstart, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(whitestart, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(12, 12, 12)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 129, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(suggestButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGap(18, 18, 18)
                        .addComponent(accuseButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(endButton, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(navPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(navPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void northButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_northButtonActionPerformed
        Clueless.sendMove("North");
        disableButtons();
    }//GEN-LAST:event_northButtonActionPerformed

    private void southButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_southButtonActionPerformed
        Clueless.sendMove("South");
        disableButtons();
    }//GEN-LAST:event_southButtonActionPerformed

    private void westButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_westButtonActionPerformed
        Clueless.sendMove("West");
        disableButtons();
    }//GEN-LAST:event_westButtonActionPerformed

    private void eastButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_eastButtonActionPerformed
        Clueless.sendMove("East");
        disableButtons();
    }//GEN-LAST:event_eastButtonActionPerformed

    private void secretButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_secretButtonActionPerformed
        Clueless.sendMove("Secret");
        disableButtons();
    }//GEN-LAST:event_secretButtonActionPerformed

    private void suggestButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_suggestButtonActionPerformed
        promptSuggest();        
    }//GEN-LAST:event_suggestButtonActionPerformed

    private void accuseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_accuseButtonActionPerformed
        promptAccuse();
    }//GEN-LAST:event_accuseButtonActionPerformed

    private void endButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_endButtonActionPerformed
        Clueless.sendEndTurn();
        disableButtons();
    }//GEN-LAST:event_endButtonActionPerformed

    /**
     * @param args the command line arguments
     */
//    public static void logic() {
//        /* Set the Nimbus look and feel */
//        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
//        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
//         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
//         */
//        try {
//            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
//                if ("Nimbus".equals(info.getName())) {
//                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
//                    break;
//                }
//            }
//        } catch (ClassNotFoundException ex) {
//            java.util.logging.Logger.getLogger(ClientUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (InstantiationException ex) {
//            java.util.logging.Logger.getLogger(ClientUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (IllegalAccessException ex) {
//            java.util.logging.Logger.getLogger(ClientUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
//            java.util.logging.Logger.getLogger(ClientUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        }
//        //</editor-fold>
//
//        /* Create and display the form */
//        
//        
//        
//    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton accuseButton;
    private javax.swing.JButton ballroom;
    private javax.swing.JCheckBox ballroomCB;
    private javax.swing.JButton ballroom_kitchen;
    private javax.swing.JButton billiard;
    private javax.swing.JCheckBox billiardCB;
    private javax.swing.JButton billiard_ballroom;
    private javax.swing.JButton billiard_dining;
    private javax.swing.JCheckBox candlestickCB;
    private javax.swing.JButton conservatory;
    private javax.swing.JCheckBox conservatoryCB;
    private javax.swing.JButton conservatory_ballroom;
    private javax.swing.JButton dining;
    private javax.swing.JCheckBox diningCB;
    private javax.swing.JButton dining_kitchen;
    private javax.swing.JButton eastButton;
    private javax.swing.JButton endButton;
    private javax.swing.JCheckBox greenCB;
    private javax.swing.JButton greenstart;
    private javax.swing.JButton hall;
    private javax.swing.JCheckBox hallCB;
    private javax.swing.JButton hall_billiard;
    private javax.swing.JButton hall_lounge;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JButton kitchen;
    private javax.swing.JCheckBox kitchenCB;
    private javax.swing.JCheckBox knifeCB;
    private javax.swing.JButton library;
    private javax.swing.JCheckBox libraryCB;
    private javax.swing.JButton library_billiard;
    private javax.swing.JButton library_conservatory;
    private javax.swing.JButton lounge;
    private javax.swing.JCheckBox loungeCB;
    private javax.swing.JButton lounge_dining;
    private javax.swing.JCheckBox mustardCB;
    private javax.swing.JButton mustardstart;
    private javax.swing.JPanel navPanel;
    private javax.swing.JButton northButton;
    private javax.swing.JCheckBox peacockCB;
    private javax.swing.JButton peacockstart;
    private javax.swing.JCheckBox pipeCB;
    private javax.swing.JCheckBox plumCB;
    private javax.swing.JButton plumstart;
    private javax.swing.JCheckBox revolverCB;
    private javax.swing.JCheckBox ropeCB;
    private javax.swing.JCheckBox scarletCB;
    private javax.swing.JButton scarletstart;
    private javax.swing.JButton secretButton;
    private javax.swing.JButton southButton;
    private javax.swing.JButton study;
    private javax.swing.JCheckBox studyCB;
    private javax.swing.JButton study_hall;
    private javax.swing.JButton study_library;
    private javax.swing.JButton suggestButton;
    private javax.swing.JTextArea textArea;
    private javax.swing.JButton westButton;
    private javax.swing.JCheckBox whiteCB;
    private javax.swing.JButton whitestart;
    private javax.swing.JCheckBox wrenchCB;
    // End of variables declaration//GEN-END:variables
 
}
